﻿<%@ Page CodeFileBaseClass="AliCMS.Lib.SystemPageBase" %>
<ali:Get ID="Config" Object="InstanceConfig" Operation="GetBasicSettings()" />
<section data-page="teacher_add" data-title="添加教师" data-thumbanil-width="<%=Config[CourseThumbnailWidth]%>" data-thumbanil-height="<%=Config[CourseThumbnailHeight]%>" data-lang="<%=ContentLang%>">
	<dl class="path1">
		<dt><span>您的位置：</span>添加教师</dt>
		<dd>
			<select data-class="<%=ContentLang%>Font" data-ali-widget="combo">
				<ali:List Mark="System" Object="Language" Source="Manager.Languages">
					<ali:Record>
						<%If Convert.ToString(Ab) == ContentLang%>
							<option value="<%=Ab%>" selected><%=[AliCMS.SystemModule.Alias.Language.Name + PageLang]%></option>
						<%Else%>
							<option value="<%=Ab%>"><%=[AliCMS.SystemModule.Alias.Language.Name + PageLang]%></option>
						<%EndIf%>
					</ali:Record>
				</ali:List>
			</select>
		</dd>
	</dl>
	<form action="" class="post">
		<div class="post-body">
			<div class="ali-tabs" data-event="click">
				<div class="ali-tabs-header">
					<div class="ali-tabs-nav-container">
						<ul>
							<li><a href="list.aspx?Lang=<%=ContentLang%>" target="ali-navtab">教师列表</a></li>
							<li class="ali-active"><a>添加教师</a></li>
							<li><a href="stat_order_all.aspx?Lang=<%=ContentLang%>" target="ali-navtab">统计</a></li>
						</ul>
					</div>
				</div>
				<div class="ali-tabs-body">
					<div class="ali-tabs-panel"></div>
					<div class="ali-tabs-panel">
						<table class="post-table margin2">
							<tr>
								<th>名称：</th>
								<td><input type="text" name="Name" size="60" maxlength="150" class="ali-input <%=ContentLang%>Font"></td>
							</tr>
							<tr>
								<th>图片：</th>
								<td>
									<input type="text" name="Picture" size="60" maxlength="255" class="ali-input CHSFont">
									<button type="button" class="ali-button" data-operation="SelectPicture">选择图片...</button>
									<a href="" target="_blank"><img src="" style="width:22px;height:22px;vertical-align:middle"></a>
								</td>
							</tr>
							<tr>
								<th>佣金：</th>
								<td><input type="text" name="Commision" value="0" size="6" maxlength="4" class="ali-input CHSFont">%</td>
							</tr>
							<tr>
								<th>绑定用户：</th>
								<td>
									<input type="text" name="UserName" size="30" readonly class="ali-input CHSFont">
									<input type="hidden" name="UserID"><a class="ali-button" data-operation="SelectUser">选择</a> <a class="ali-button" data-operation="ClearUser">清空</a>
								</td>
							</tr>
							<tr>
								<th>描述：</th>
								<td>
									<textarea name="Description" data-instance="<%=InstanceID%>" class="editor"></textarea>
								</td>
							</tr>
							<tr>
								<th>推荐：</th><td><input type="number" name="Recommend" value="0" min="0" required class="ali-input CHSFont" style="width:60px"></td>
							</tr>
						</table>
					</div>
				</div>
				<div class="ali-tabs-bottom"><b></b></div>
			</div>
		</div>
		<div class="post-footer">
			<button type="submit" class="ali-button">添 加</button>
			<input type="hidden" name="PictureAllowedType" value="gif|jpg|jpeg|png|bmp|png">
			<input type="hidden" name="IsChecked" value="1">
		</div>
	</form>
</section>